@import "@/theme/index.less";
.role-list-item {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 16px;
  height: 40px;
  cursor: pointer;

  .icon {
    visibility: hidden;
    margin: 0 5px;
  }

  .title {
    flex: 1;
    display: flex;
    align-items: center;

    .name {
      flex: 1;
      width: 1px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      word-break: break-all;
    }
  }

  &:hover {
    background: rgba(50, 197, 255, 0.1);
    color: @primary;

    .icon {
      visibility: visible;
    }
  }
}

.role-list-item-selected {
  background: rgba(50, 197, 255, 0.1);
  color: @primary;
}
